<meta charset="UTF-8">
<script src="../jquery.js"></script>

<body>
    <div id="div1" style="border:1px solid red;width:100px;height:100px;"></div>

    <div id="object" style="width:50px;height:50px;background:blue"></div>
</body>

<script>

/**
 * http://www.cnblogs.com/hh54188/archive/2011/04/09/1996469.html
 * 
 */
$('#div1').slideUp('slow').slideDown('slow').queue(function(next){
                    $('#object').css({"background":"red"});
                  //  next();
                }).hide('slow');

</script>